<?php 
require_once APP_ROOT.'Admin/model/Admin.php';
Core::getInstance()->sys_load_class('Model',false);
require_once APP_ROOT.'Admin/model/FileSystem.php';
class Index extends Admin{  
	/*Singleton{{{*/
	public static function getInstance(){
		static $instance=null;
		if($instance===null){ 
			$instance = new self();
		}
		return $instance;
	}
	private function __construct(){}
	private function __clone(){
		trigger_error("Clone is not allowed.", E_USER_ERROR);
	}
	/*}}}*/

	public function indexAction(){
		$fs = new FileSystem();
		$data = $fs->getAll();
		include $this->display('index.html');
	}   

}
